FROM docker.io/java:8-jdk-alpine
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENV LANG zh_CN.UTF-8
RUN mkdir /usr/share/fonts
RUN mkdir /usr/share/fonts/win
COPY simsun.ttc /usr/share/fonts/win/simsun.ttc
RUN chmod a+r /usr/share/fonts/win/simsun.ttc
RUN apk update
RUN apk add font-adobe-100dpi
RUN mkdir /temp
VOLUME /tmp